.TH lepton-symfix 1 "@DATE@" "Lepton EDA" @VERSION@

.SH NAME
lepton-symfix \- automatically fix common issues with Lepton EDA symbols

.SH SYNOPSIS
.B lepton-symfix [
.I options
.B ]
.I symbol_file
.SH DESCRIPTION
.B lepton-symfix
reads a Lepton EDA symbol file and does the following:
.IP \(bu
prints a warning if there is no pinnumber attribute on a pin;
.IP \(bu
Renumbers pinseq attributes on all pins, starting with 1;
.IP \(bu
Adds a pinseq attribute to a pin if none exists;
.IP \(bu
Adds a pinlabel=n_a attribute to a pin if none exists;
.IP \(bu
Adds a pintype=io attribute to a pin if none exists;
.IP \(bu
Adds a numslots=0 attribute to the symbol if none exists;
.IP \(bu
Adds a device=XXX attribute to the symbol if none exists;
.IP \(bu
Adds a footprint=XXX attribute to the symbol if none exists.
.PP
The idea here is to fix common cut-and-paste issues and fix up
the symbol so that it will pass
.BR lepton-symcheck (1)
with no errors or
warnings.

.SH OPTIONS
.B lepton-symfix
accepts the following options:
.TP
.BR -h ", " \-\-help
Displays this help message.
.TP
.B \-\-verbose
Enables verbose output.
.TP
.B \-\-vverbose
Enables *very* verbose output.
.TP
.B \-\-version
Shows the version of this program.

.SH AUTHOR
Mike Skerritt <mike@acornpacket.com>.

.SH SEE ALSO
.BR lepton-schematic (1),
.BR lepton-symcheck (1)

.SH COPYRIGHT
.nf
Copyright \(co 2012-2014 gEDA Contributors.
Copyright \(co 2017-@YEAR@ Lepton EDA Contributors.
License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING'
file included with this program for full details.
.PP
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
